package com.hctforgreen.greenservice.utils;

import android.content.Context;
import android.os.Environment;
import android.util.Log;

import com.hctforgreen.greenservice.model.EntryCatalogEntity;

/**
 * 宏
 *
 * @author Tallen Zhai
 */
public class HctConstants {
    // =======数据库==========

    // ============================考试相关====================================
    public static final String DB_EXAM_NAME = "examine.db";
    public static final int DB_EXAM_VERSION = 2;

    /**
     * 试题table名
     */
    public static final String DB_TABLE_NAME_EXAMSUB_LST = "ExamSub";
    /**
     * 试卷table名
     */
    public static final String DB_TABLE_NAME_EXAM_PAPER_LST = "ExamPaper";

    // ==============================考试相关==================================

    // ============================终端培训：考试相关   分割线开始====================================
    public static final String DB_TERMINAL_EXAM_NAME = "terminalexamine.db";
    public static final int DB_TERMINAL_EXAM_VERSION = 2;

    /**
     * 试题table名
     */
    public static final String DB_TABLE_NAME_TERMINAL_EXAMSUB_LST = "TerminalExamSub";
    /**
     * 试卷table名
     */
    public static final String DB_TABLE_NAME_TERMINAL_EXAM_PAPER_LST = "TerminalExamPaper";

    // ==============================考试相关  分割线结束==================================
    // 机型、系列表的数据库
    public static final String DB_NAME = "repair_service.db";

    public static final int DB_VERSION = 12;

    public static final String DB_SEARCH_KEYWORD_NAME = "search_keyword.db";

    public static final int DB_SEARCH_KEYWORD_VERSION = 1;

    public static final String DB_COLUMN_NAME = "column.db";

    public static final int DB_COLUMN_VERSION = 1;

    public static final String DB_ENTRY_NAME = "entry.db";

    public static final int DB_ENTRY_VERSION = 1;

    public static final String DB_FEED_BACK_NAME = "feed_back.db";

    public static final int DB_FEED_BACK_VERSION = 1;
    // =======图片缓存路径=======获取SD卡根目录
    public static final String DEFAULT_ROOT_PATH = Environment
            .getExternalStorageDirectory().getAbsolutePath();//公共存储的SD卡

    public static final String DEFAULT_CACHE_STORE_PATH = "/hct/gree/repair_service/cache/";
    public static final String DEFAULT_VIDEO_STORE_PATH = "/hct/gree/repair_service/cache/video/";
    public static final String DEFAULT_VIDEO_STORE_EXTERNEL_PATH = "/hct/gree/repair_service/cache";

    public static final String DEFAULT_IMG_STORE_PATH = "/hct/gree/repair_service/cache/img/";
    private static String BOOKS_ROOT_PATH = Environment
            .getExternalStorageDirectory().getPath();


    public static String getBooksRootPath(Context context) {
        String bookPath = BOOKS_ROOT_PATH;
        try {
            int storePath = SelectStoreUtil.get(context);
            Log.w("storePath===", storePath + "");
            String[] storePaths = Utils.getSDCardPathEx(context);
            if (storePaths != null && storePaths.length > 1) {
                bookPath = storePaths[storePath];
            } else {
                bookPath = Environment.getExternalStorageDirectory().getPath();
            }
        } catch (Exception e) {
            bookPath = Environment.getExternalStorageDirectory().getPath();
            e.printStackTrace();
        }
        return bookPath;
    }

    public static final String BOOKS_CACHE_STORE_PATH = "/Books";
    // ========解析===============
    public static final int STATUS_SUCCESS = 2;
    public static final int STATUS_FAILD = 0;
    public static final int STATUS_NO_DATA = 1;
    // =======网络=======
    public static final String NET_ENCODING = "UTF-8";
    // ============注销===========
    public static boolean finish_mian_start_login = false;

    // ===============注销账号===============
    public static String loginout_phone = null;


    /**
     * 正式接口
     */
//    public static final String NET_URL = "http://aftersales.gree.com:7002/gree/"; //正式服务器
//    public static final String NET_URL = "http://112.91.147.221:7002/gree/"; //正式服务器
    /**
     * 测试接口
     */
    public static final String NET_URL = "http://116.6.120.30:7002/gree/";//测试服务器




    /**
     * 灾备的正式接口--域名：http://gasrecovery.gree.com
     * 开发和测试均不用屏蔽，不可随意修改和屏蔽
     */
    public static final String NET_URL_DISASTER = "http://gasrecovery.gree.com:7002/gree/"; // 正式灾备接口


    /**
     * 生产环境的测试接口--用于最后发布时第二次测试
     */
//	  public static final String NET_URL = "http://aftersales.gree.com:7012/gree/";// 生产环境测试接口






    /**
     * 做灾备时的测试接口
     */
    //public static final String NET_URL = "http://gastest.gree.com:7006/gree/"; // 灾备测试接口


    /**
     * 测试灾备接口
     */
    //public static final String NET_URL_DISASTER = "http://gastest.gree.com:7005/gree/"; // 测试灾备接口




    /**
     * @return
     */
    public static boolean isFinish_mian_start_login() {
        return finish_mian_start_login;
    }

    public static void setFinish_mian_start_login(
            boolean finish_mian_start_login) {
        HctConstants.finish_mian_start_login = finish_mian_start_login;
    }

    public static String getLoginout_phone() {
        return loginout_phone;
    }

    public static void setLoginout_phone(String loginout_phone) {
        HctConstants.loginout_phone = loginout_phone;
    }

    public static EntryCatalogEntity.EntryLevel1Entity.EntryLevel2Entity level2Entity = null;
    public static EntryCatalogEntity.EntryLevel1Entity level1Entity = null;

    public static EntryCatalogEntity.EntryLevel1Entity getLevel1Entity() {
        return level1Entity;
    }

    public static EntryCatalogEntity.EntryLevel1Entity.EntryLevel2Entity getLevel2Entity() {
        return level2Entity;
    }

    /**
     * point-mobile!submitPoint.do
     */
    public static final String NET_POINT_MOBILE_PATH = "point-mobile!";

    public static final String NET_STATISTICS_MOBILE_PATH = "statistics-mobile!";
    public static final String NET_SYNC_DATA_MOBILE_PATH = "sync-data-mobile!";
    public static final String NET_SOURCE_MOBILE_PATH = "source-mobile!";
    public static final String NET_PERSON_MOBILE_PATH = "person-mobile!";
    public static final String NET_BOOT_MOBILE_PATH = "boot-mobile!";
    public static final String NET_SPARE_BOOT_MOBILE_PATH = "spare-boot-mobile!";
    public static final String NET_ACCOUNT_MOBILE_PATH = "account-mobile!";
    public static final String NET_BOOK_ID_HEADER = "?bookid=";
    public static final String NET_BOOK_NAME_HEADER = "?bookName=";
    public static final String NET_BOOK_TYPE_COLUMN_ID_HEADER = "?bookTypeColumnId=";
    public static final String NET_FEEDBACK_MOBILE_PATH = "feedback-mobile!";

    /**
     * 通过用户电话号码获取到用户身份的地址
     */
    public static final String NET_GET_USERID_POST_PHONE = "";


    public static final String NET_LARGEUNIT_BOOT_MOBILE_PATH = "largeunit-boot-mobile!";

    /**
     * 竞品资料
     */
    public static final String NET_VIEINFO_MOBILE_PATH = "vieinfo-mobile!";

    /**
     * 公开案例
     */
    public static final String NET_OPENCASE_MOBILE_PATH = "opencase-mobile!";
    /**
     * 培训学习资料
     */
    public static final String NET_TRAIN_MOBILE_PATH = "train-mobile!";

    /**
     * 考试
     */
    public static final String NET_EXAM_MOBILE_PATH = "exam-mobile!";

    /**
     * 2016-9-20 390694
     * 终端培训学习资料
     */
    public static final String NET_TERMINAL_TRAIN_MOBILE_PATH = "sale-train-mobile!";

    /**
     * 2016-9-20 390694
     * 终端培训：考试
     */
    public static final String NET_TERMINAL_EXAM_MOBILE_PATH = "sale-exam-mobile!";


    public static final String NET_CHAPTER_MOBILE_PATH = "chapter-mobile!";
    // book-mobile!submitBookSuggest.do

    public static final String NET_BOOK_MOBILE_PATH = "book-mobile!";

    public static final String NET_VIDEO_MOBILE_PATH = "video-mobile!";

    public static final String NET_PHONE_FEEDBACK_MOBILE_PATH = "phone-feedback-mobile!";
    public static final String NET_MESSAGE_MOBILE_PATH = "message-mobile!";

    public static final String NET_REPORT_MOBILE_PATH = "report-mobile!";
    public static final String NET_VERSION_MOBILE_PATH = "version-mobile!";

    public static final String NET_LOADING_MOBILE_PATH = "loading-mobile!";

    public static final String GET_NEW_APP_ACTION = "getNewApp.do";

    public static final String NET_INFO_MOBILE_PATH = "info-mobile!";

    /**
     * 2017-8-30 390849
     * 售后培训：新学员培训
     */

    public static final String TOKEN_TRAIN_MOBILE = "train-mobile!";
    public static final String GET_NEW_PERSON_STUDY_DATALIST = "getNewPersonStudyDataList.do";
    public static final String GET_NEW_STUDY_DATA_LIST_BY_PERSONID = "getNewStudyDataListByPersonId.do";
    public static final String TOKEN_STATISTICS_MOBILE = "statistics-mobile!";
    public static final String ADD_CLICK_RECORD = "addClickRecord.do";
    public static final String ADD_DOWNLOAD_RECORD = "addDownloadRecord .do";
    public static final String ADD_VIDEO_PLAY_RECORD = "addVideoPlayRecord .do";
    public static final String ADD_VIDEO_DOWNDOAD_RECORD = "addVideoDownloadRecord .do";


    /**
     * 拼接Gif下载地址的Action
     */
    public static final String OUT_PIC_STREAM_ACTION = "outPicStream.do";
    public static final String NET_GIF_ID_HEADER = "?id=";
    public static final String NET_GIF_INDEX_SHORT = "&index=4";
    public static final String NET_GIF_INDEX_LONG = "&index=5";
    // ========分页大小=======
    /**
     * 每页列表显示的记录数
     */
    public static final int PAGE_SIZE = 10;

    // ==========shareParefances====================
    /**
     * 用户信息存储
     */
    public static final String USER_INFO_STORE_FILE_NAME = "user.info.store.file.name";
    public static final String USER_INFO_STORE_KEY_VALUE = "user.info.store.key.value";
    /**
     * 用户密码
     */
    public static final String PASSWORD_STORE_FILE_NAME = "password.store.file.name";
    public static final String PASSWORD_STORE_KEY_VALUE = "password.store.key.value";
    /**
     * 主题设置
     */
    public static final String THEME_SETTING_STORE_FILE_NAME = "theme.setting.store.file.name";
    public static final String THEME_SETTING_STORE_KEY_VALUE = "theme.setting.store.key.value";
    /**
     * 主题背景图片
     */
    public static final String THEME_SETTING_FILE_STORE_FILE_NAME = "theme.setting.file.store.file.name";
    public static final String THEME_SETTING_FILE_STORE_KEY_VALUE = "theme.setting.file.store.key.value";
    /**
     * 是否首次安装
     */
    public static final String IS_FIRST_INSTALL_STORE_FILE_NAME = "is.first.install.store.file.name";
    public static final String IS_FIRST_INSTALL_STORE_KEY_VALUE = "is.first.install.store.key.value";
    /**
     * 首页刷新数据
     */
    public static final String MAIN_REFRESH_DATA_STORE_FILE_NAME = "main_refresh_data.store.file.name";
    public static final String MAIN_REFRESH_DATA_STORE_KEY_VALUE = "main_refresh_data.store.key.value";
    /**
     * 资料页面刷新数据
     */

    public static final String BOOK_REFRESH_DATA_STORE_FILE_NAME = "book_refresh_data.store.file.name";
    public static final String BOOK_REFRESH_DATA_STORE_KEY_VALUE = "book_refresh_data.store.key.value";
    /**
     * 是否自动登录
     */
    public static final String IS_AUTO_LOGIN_IN_STORE_FILE_NAME = "is.auto.login.in.store.file.name";
    public static final String IS_AUTO_LOGIN_IN_STORE_KEY_VALUE = "is.auto.login.in.store.key.value";
    /**
     * 登录结果信息存储
     */
    public static final String LOGIN_RESULT_STORE_FILE_NAME = "login.result.store.file.name";
    public static final String LOGIN_RESULT_STORE_KEY_VALUE = "login.result.store.key.value";
    /**
     * 用户积分存储
     */
    public static final String PERSON_POINTS_STORE_FILE_NAME = "person.points.store.file.name";
    public static final String PERSON_POINTS_STORE_KEY_VALUE = "person.points.store.key.value";
    /**
     * 基础数据版本号
     */
    public static final String DATA_VERSION_CODE_STORE_FILE_NAME = "data.version.code.store.file.name";
    public static final String DATA_VERSION_CODE_STORE_KEY_VALUE = "data.version.code.store.key.value";

    /**
     * 20160607
     * 490694添加
     * 书籍资料包数据版本号
     */
    public static final String BOOK_DATA_VERSION_CODE_STORE_FILE_NAME = "book.data.version.code.store.file.name";
    public static final String BOOK_DATA_VERSION_CODE_STORE_KEY_VALUE = "book.data.version.code.store.key.value";

    /**
     * 下载路径
     */
    public static final String DOWNLOAD_STORE_POSITION_FILE_NAME = "download.store.code.store.file.name";
    public static final String DOWNLOAD_STORE_POSITION_KEY_VALUE = "download.store.code.store.key.value";

    /**
     * 多语言设置
     */
    public static final String LANGUAGE_SETTING_FILE_NAME = "language_setting.code.store.file.name";
    public static final String LANGUAGE_SETTING_KEY_VALUE = "language_setting.code.store.key.value";

    /**
     * wifi自动更新
     */
    public static final String WIFI_FRESH_STATE_FILE_NAME = "wifi_fresh_state.code.store.file.name";
    public static final String WIFI_FRESH_STATE_KEY_VALUE = "wifi_fresh_state.code.store.key.value";

    /**
     * 搜索历史记录
     */
    public static final String VIDEO_TYPE_SEARCH_FILE_NAME = "video_type_search.code.store.file.name";
    public static final String VIDEO_TYPE_SEARCH_KEY_VALUE = "video_type_search.code.store.key.value";

    /**
     * download book 是否完成初始化
     */
    public static final String DOWNLOAD_BOOK_LST_INIT_FINISH_FILE_NAME = "download.book.lst.init.finish.file.name";
    public static final String DOWNLOAD_BOOK_LST_INIT_FINISH_KEY_VALUE = "download.book.lst.init.finish.key.value";

    /**
     * Welcome pic 存储
     */
    public static final String WELCOME_PIC_STORE_FILE_NAME = "welcome.pic.store.file.name";
    public static final String WELCOME_PIC_STORE_KEY_VALUE = "welcome.pic.store.key.value";
    /**
     * 首页菜单
     */
    public static final String MAIN_MENU_STORE_FILE_NAME = "main.menu.store.file.name";
    public static final String MAIN_MENU_STORE_KEY_VALUE = "main.menu.store.key.value";

    /**
     * 开机密码shareParefances
     */
    public static final String START_PW_SHAREPAREFRANCE_FILE_NAME = "start.pw.page.file.name";
    public static final String KEY_VALUE_BATCH_INSTALLATION = "batch.installation";

    // =====================页面传递值====================

    /**
     * 考试中心
     */
    public static final String ON_ACTIVITY_FROM_TEST_CENTER_ACTIVITY = "on.activity.from.test.center";
    public static final String ON_ACTIVITY_FROM_TYPE = "onActivityFrom";

    public static final String ON_ACTIVITY_KEY_REP_TYPE_ENTITY = "RepTypeEntity";
    public static final String ON_ACTIVITY_KEY_REP_TYPE_ENTITY_IDS = "RepTypeEntity.ids";
    public static final String ON_ACTIVITY_KEY_PAPER_ENTITY = "PagerEntity";
    public static final String ON_ACTIVITY_KEY_PAPER_ID = "PaperId";
    public static final String ON_ACTIVITY_KEY_USED_TIME = "used.time";

    public static final String ON_ACTIVITY_KEY_ALL_EXAM_LIST_ENTITY = "AllExamListEntity";

    public static final String ON_ACTIVITY_KEY_POSITION = "position";
    public static final String ON_ACTIVITY_KEY_EXAM_ENTITY = "ExamEntity";

    public static final String ON_ACTIVITY_KEY_STUDY_ENTITY = "StudyEntity";

    public static final String ON_ACTIVITY_KEY_MESSAGES_ENTITY = "MessagesEntity";

    public static final String ON_ACTIVITY_KEY_ENTRY_TITLE_ID = "entryTitleId";

    public static final String ON_ACTIVITY_KEY_ENTRY_TITLE_CONTENTS = "titleContents";

    public static final String ON_ACTIVITY_KEY_ENTRY_TITLE_ENTITY = "entryTitleEntity";

    /**
     * 培训id
     */
    public static final String ON_ACTIVITY_KEY_TRAIN_ID = "train_id";
    /**
     * 培训签到状态
     */
    public static final String ON_ACTIVITY_KEY_TRAIN_STATE = "train_state";

    public static final String ON_ACTIVITY_KEY_BOOK_TYPE_NAME = "BookEntity.booktypeName";
    public static final String ON_ACTIVITY_KEY_DISPLAY_NAME = "BookEntity.displayName";
    public static final String ON_ACTIVITY_KEY_BOOK_LIST_ENTITY = "BookListEntity";

    public static final String ON_ACTIVITY_KEY_ENTRY_CATALOG_ENTITY = "EntryCatalogEntity";
    public static final String ON_ACTIVITY_KEY_SERIES_ENTITY = "SerieEntity";

    public static final String ON_ACTIVITY_KEY_MACHINE_ENTITY = "MachineEntity";

    public static final String ON_ACTIVITY_KEY_CHILD_SERIE_ENTITY = "ChildSerieEntity";

    public static final String ON_ACTIVITY_KEY_INFO_TYPE = "info_type";

    public static final String ON_ACTIVITY_KEY_ENTRY_TITLEID = "entry_titleId";
    public static final String ON_ACTIVITY_KEY_ENTRY_TITLE_CONTENTS_SEARCH_KEY = "titleContents.searchKey";
    // public static final String ON_ACTIVITY_KEY_LEVEL_1_TITLE =
    // "level.1.title";

    public static final String ON_ACTIVITY_KEY_SEARCH_MACHINE_NAME = "search.machine.name";

    public static final String ON_ACTIVITY_KEY_MEGE_IMAGE_PATH = "image";
    // =====================表名====================
    /**
     * series table表名
     */
    public static final String DB_TABLE_NAME_SERIE_LST = "series";
    /**
     * machines table表名
     */
    public static final String DB_TABLE_NAME_MACHINE_LST = "machines";
    /**
     * book_types table表名
     */
    public static final String DB_TABLE_NAME_BOOK_TYPE_LST = "book_types";

    /**
     * entryTitleList table表名
     */
    public static final String DB_TABLE_NAME_ENTRY_TITLE_LST = "entryTitleList";
    /**
     * entryList table表名
     */
    public static final String DB_TABLE_NAME_ENTRY_LST = "entryList";
    /**
     * books table表名
     */
    public static final String DB_TABLE_NAME_BOOK_LST = "books";
    public static final String DB_TABLE_NAME_TEMP_BOOK_LST = "temp_books";

    /**
     * 搜索keyword table表名
     */
    public static final String DB_TABLE_NAME_KEYWORD_LST = "keywords";
    /**
     * 调试栏目 table表名
     */
    public static final String DB_TABLE_NAME_COLUMN_LST = "columns";
    /**
     * 图文反馈 table表名
     */
    public static final String DB_TABLE_NAME_FEED_BACK_LST = "feedbacks";
    /**
     * 下载列表 machineBooks table表名
     */
    public static final String DB_TABLE_NAME_MACHINE_BOOK_LST = "machineBooks";
    /**
     * 下载列表 childSeriesBooks table表名
     */
    public static final String DB_TABLE_NAME_CHILD_SERIES_BOOK_LST = "childSeriesBooks";
    // ==================服务器返回state=====================
    // ========监听============
    public static final String RECEIVER_BOOKSHELF_ACTIVITY_DOWNLOAD_UPDATE = "cn.dns.intent.action.bookshelf.download.update"; // 书架下载刷新

    public static final String RECEIVER_VIDEOSHELF_ACTIVITY_DOWNLOAD_UPDATE = "cn.dns.intent.action.videoshelf.download.update"; // 视频下载刷新

    public static final String RECEIVER_VIDEOSHELF_ACTIVITY_DOWNLOAD_UPDATE_PARTS = "cn.dns.intent.action.videoshelf.download.update.parts"; // 视频下载剧集详情刷新

    public static final String ON_DOWNLOAD_SERIVE_KEY_DOWNLOAD_URL = "download_url";
    public static final String ON_DOWNLOAD_SERIVE_KEY_IS_FINISH = "finish";
    public static final String ON_DOWNLOAD_SERIVE_KEY_PROGRESS = "progress";
    public static final String ON_DOWNLOAD_SERIVE_KEY_SWITCH_DOWNLOAD_STATE = "switch.download.state";

    public final static String GET_BOOK_ZIP_STREAM_ACTION = "getBookZipStream.do";

    public final static String GET_BOOK_TYPE_COLUMN_PIC_ACTION = "getBookTypeColumnPic.do";
    // ==================服务器返回state的3种状态======================
    /**
     * 成功
     */
    public static final String RESULT_STATE_SUCCESS = "0";
    /**
     * 失败
     */
    public static final String RESULT_STATE_FAILD = "-1";
    /**
     * 异常
     */
    public static final String RESULT_STATE_EXCEPTION = "-2";

    // ========图书解析====================================
    public static final String BOOK_PATH_KEY = "BookPath";
    public static final String ON_ZIP_FILE_PATH_KEY = "zip.file.path";
    public static final String ON_ZIP_SDCARD_PATH_KEY = "zip.sdcard.path";
    public static final String ON_ACTIVITY_KEY_BOOK_ENTITY = "BookEntity";
    public static final String ON_ACTIVITY_KEY_BOOK_ID = "BookEntity.id";
    public static final String ON_ACTIVITY_KEY_CURRENT_BOOK_ID = "BookEntity.currentBookId";
    /**
     * 资料可以更新
     */
    public static final String ON_ACTIVITY_KEY_BOOK_B_CAN_UPDATE_TRUE = "true";
    /**
     * 资料不可以更新
     */
    public static final String ON_ACTIVITY_KEY_BOOK_B_CAN_UPDATE_FALSE = "";
    /**
     * 点击的下载按钮
     */
    public static final String ON_ACTIVITY_KEY_DO_DOWNLOAD_CLICK = "";
    /**
     * 点击的更新按钮
     */
    public static final String ON_ACTIVITY_KEY_DO_UPDATE_CLICK = "click.update.btn";
    /**
     * 未下载
     */
    public static final String ON_ACTIVITY_KEY_BOOK_ZIP_STATE_DOWNLOAD_NONE = "";
    /**
     * 正在下载
     */
    public static final String ON_ACTIVITY_KEY_BOOK_ZIP_STATE_DOWNLOAD_ING = "book.zip.state.download.ing";
    /**
     * 已取消
     */
    public static final String ON_ACTIVITY_KEY_BOOK_ZIP_STATE_ALREADY_CANCEL = "book.zip.state.already.cancel";
    /**
     * 下载完成
     */
    public static final String ON_ACTIVITY_KEY_BOOK_ZIP_STATE_DOWNLOAD_DONE = "book.zip.state.download.done";
    /**
     * 正在解析
     */
    public static final String ON_ACTIVITY_KEY_BOOK_ZIP_STATE_ANALISIS_ING = "book.zip.state.analisis.ing";
    /**
     * 解析完成
     */
    public static final String ON_ACTIVITY_KEY_BOOK_ZIP_STATE_ANALISIS_DONE = "book.zip.state.analisis.done";
    /**
     * 已经删除
     */
    public static final String ON_ACTIVITY_KEY_BOOK_ZIP_STATE_ALREADY_DELETE = "book.zip.state.already.delete";
    /**
     * 下载失败
     */
    public static final String ON_ACTIVITY_KEY_BOOK_ZIP_STATE_DOWNLOAD_FAIL = "book.zip.state.download.fail";
    /**
     * 等待下载
     */
    public static final String ON_ACTIVITY_KEY_BOOK_ZIP_STATE_DOWNLOAD_WAITING = "book.zip.state.download.waiting";

    public static final int ON_ACTIVITY_RESULT_SETTING_ACTIVITY = 0x0003;
    public static final int ON_ACTIVITY_RESULT_COLLECTION_EXAM_ACTIVITY = 0x0004;
    /**
     * 查看未做or答题列表
     */
    public static final int ON_ACTIVITY_RESULT_NOT_YET_OR_SITUATION_LIST_ACTIVITY = 0x0005;

    /**
     * 收藏夹
     */
    public static final String ON_ACTIVITY_FROM_COLLECTION_FOLDER_ACTIVITY = "on.activity.from.collection.folder.activity";
    /**
     * 错题库
     */
    public static final String ON_ACTIVITY_FROM_WRO_EXAMS_FOLDER_ACTIVITY = "on.activity.from.wro.exams.folder.activity";
    /**
     * 错题
     */
    public static final String ON_ACTIVITY_FROM_WRO_EXAMS_DETAIL_ACTIVITY = "on.activity.from.wro.exams.detail.activity";
    /**
     * 错题练习
     */
    public static final String ON_ACTIVITY_FROM_WRO_EXAMS_TEST_ACTIVITY = "on.activity.from.wro.exams.test";
    /**
     * 随机练习
     */
    public static final String ON_ACTIVITY_FROM_RANDOM_EXAMS_TEST_ACTIVITY = "on.activity.from.random.exams.test";

    /**
     * 培训
     */
    public static final String ON_ACTIVITY_FROM_TRAIN_TEST_ACTIVITY = "on.activity.from.train.test";
    /**
     * 模拟练习
     */
    public static final String ON_ACTIVITY_FROM_SIMULATION_EXAMS_TEST_ACTIVITY = "on.activity.from.simulation.exams.test";

    /**
     * 答案全对
     */
    public static final String INPUT_ANSWER_RESULT_ALL_RIGHT = "all.right";
    /**
     * 答案半对
     */
    public static final String INPUT_ANSWER_RESULT_HALF_RIGHT = "half.right";
    /**
     * 答案全错
     */
    public static final String INPUT_ANSWER_RESULT_ALL_WRONG = "all.wrong";
    /**
     * 答案未做
     */
    public static final String INPUT_ANSWER_RESULT_EMPTY = "";
    /**
     * 390694
     * 2016-12-14
     * download book 是否完成初始化
     */
    public static final String DOWNLOAD_BOOK_FINISH_FILE_NAME = "download.book.finish.file.name";
    public static final String DOWNLOAD_BOOK_FINISH_KEY_VALUE = "download.book.finish.key.value";


    /**
     * 390694
     * 2016-12-14
     * update book 是否完成开启
     */
    public static final String UPDATE_BOOK_OPEN_FILE_NAME = "update.book.open.file.name";
    public static final String UPDATE_BOOK_OPEN_KEY_VALUE = "update.book.open.key.value";
}
